// 该文件负责所有的公共的组件的全局注册   Vue.use
import PageTools from "./PageTools";
import UploadExcel from "./UploadExcel";
import ImageUpload from "./ImageUpload";
import Print from "vue-print-nb";
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import lang from './lang'
import TagsView from './TagsView'
export default {
  install(Vue) {
    // 注册全局组件
    Vue.component(PageTools.name, PageTools)
    Vue.component(UploadExcel.name, UploadExcel)
    Vue.component(ImageUpload.name, ImageUpload)
    Vue.component(ScreenFull.name, ScreenFull) // 注册全屏组件
    Vue.component(ThemePicker.name, ThemePicker) // 动态主题
    Vue.component(lang.name, lang) // 切换多语言
    Vue.component(TagsView.name, TagsView) // 多页签组件
    Vue.use(Print) // 使用打印组件
  }
}